// vue-router 导出
import Router from 'vue-router';
import Login from '@component/user/Login.vue';
import Register from '@component/user/Register.vue';
import ApproveCustomer from '@component/user/ApproveCustomer.vue';
import ApproveEnterprise from '@component/user/ApproveEnterprise.vue';
import ApproveAgent from '@component/user/ApproveAgent.vue';
import ApproveAccount from '@component/user/ApproveAccount.vue';
import ForegetPassword from '@component/user/ForegetPassword.vue';
import SpeedDiscount from '@component/user/SpeedDiscount.vue';
const routes = [
    { path: '', component: Login },
    { path: '/login', component: Login },
    { path: '/register', component: Register },
    { path: '/approveCustomer', component: ApproveCustomer },
    { path: '/approveEnterprise', component: ApproveEnterprise },
    { path: '/approveAgent', component: ApproveAgent },
    { path: '/approveAccount', component: ApproveAccount },
    { path: '/foregetPassword', component: ForegetPassword },
    { path: '/speedDiscount', component: SpeedDiscount }
]
export const router = new Router({
    mode: 'hash',
    routes
})